package com.sinosoft.ptas.system.util;

import java.util.List;
import java.util.Map;

/**
 * 为前端返回map格式的数据时，
 * 同时返回查询信息。
 * 也可以作为ResponseData的补充
 * @author ylmylm
 */
public class ResponseMapData {
	private boolean success;
	private String resultMsg;
	private Map<String, List<?>> map;
	
	public ResponseMapData(boolean success, String resultMsg, Map<String, List<?>> map) {
		super();
		this.success = success;
		this.resultMsg = resultMsg;
		this.map = map;
	}
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getResultMsg() {
		return resultMsg;
	}
	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}
	public Map<String, List<?>> getMap() {
		return map;
	}
	public void setMap(Map<String, List<?>> map) {
		this.map = map;
	}
}
